@extends('home.layout') @section('content')
<div class="panel panel-default panel-body">
    <h2>修改密码</h2>
    <hr>
    <form action="changePass" method="post">
        {{csrf_field()}}
        <div class="form-group">
            <label for="username">原密码</label>
            <input type="text" class="form-control" id="username" name="user">
        </div>
        <div class="form-group">
            <label for="password">新密码</label>
            <input type="password" class="form-control" id="password" name="pwd">
        </div>
        <div class="form-group">
            <label for="password">确认密码</label>
            <input type="password" class="form-control" id="password" name="pwd">
        </div>
        <div class="form-group">
            <button class="btn btn-primary btn-block">提交</button>
        </div>
    </form>
</div>
@endsection